<table align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td><?php if (isset($error_msg))  echo '<div class="error">'.$error_msg.'</div>'; ?>
      <?php if (isset($warning_msg))  echo '<div class="warning">'.$warning_msg.'</div>'; ?>
      <?php if (isset($info_msg))  echo '<div class="info">'.$info_msg.'</div>'; ?>
      <?php if (isset($success_msg))  echo '<div class="success">'.$success_msg.'</div>'; ?></td>
  </tr>
</table>